<template>
    <div style="height:100%">
        <a-card title="业务简报" style="height: 100%">
          <a-row>
            <a-col :span="12" style="text-align: center;padding: 15px;">
              <a-statistic title="新增客户数" :value="data.customerNum"  />
            </a-col>
            <a-col :span="12" style="text-align: center;padding: 15px;">
              <a-statistic title="跟进客户次数" :value="data.followUpCustomerNum"  />
            </a-col>
            <a-col :span="12" style="text-align: center;padding: 15px;">
              <a-statistic title="新增分享官" :value="data.InformationStaffNum"  />
            </a-col>
            <!-- <a-col :span="12" style="text-align: center;padding: 15px;">
              <a-statistic title="跟进信息员次数" :value="data.followUpInformationNum" style="margin-right: 50px" />
            </a-col> -->
          </a-row>
        </a-card>
    </div>
</template>

<script>
  import { postAction } from '@/api/manage'
  export default {
    name: "BusinessPresentation",
    components: {

    },
    data() {
      return {
        data: {
          customerNum: 0,
          followUpCustomerNum: 0,
          InformationStaffNum: 0
        },
        url: {
          getData: "/ghCustomerInfo/getBusinessPresentation",
        }
      }
    },
    methods: {
      initData(params) {
        postAction(this.url.getData, params).then(res => {
          if (res.success) {
            this.data = res.result;
          }
        });
      }
    }
  }
</script>
<style>

</style>